.ui-popup-bg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}
.ui-popup {
    margin: 0;
    padding: 0;
    color: #000000d9;
    font-size: 14px;
    position: absolute;
    z-index: 1070;
    display: block;
    max-width: 250px;
}
.ui-popup-content {
    position: relative;
    font-size: 12px;
}
.ui-popup-inner {
    box-sizing: border-box;
    font-size: 12px;
    min-width: 40px;
    min-height: 28px;
    padding: 6px 8px;
    color: #fff;
    text-decoration: none;
    word-wrap: break-word;
    background-color: @black-1;
    border-radius: 2px;
    box-shadow: 0 3px 6px -4px #0000001f, 0 6px 16px #00000014, 0 9px 28px 8px #0000000d;
}
.ui-popup-arrow {
    position: absolute;
    z-index: 2;
    display: block;
    width: 22px;
    height: 20px;
    overflow: hidden;
    background: 0 0;
    pointer-events: none;
}
.ui-popup-placement-topLeft .ui-popup-arrow {
    left: 8px;
    bottom: 0;
    transform: translateY(100%);
}
.ui-popup-placement-topLeft .ui-popup-arrow-content {
    box-shadow: 3px 3px 7px #00000012;
    transform: translateY(-11px) rotate(45deg);
}
.ui-popup-arrow-content {
    --antd-arrow-background-color: linear-gradient(to right bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75));
    position: absolute;
    inset: 0;
    display: block;
    width: 11.3137085px;
    height: 11.3137085px;
    margin: auto;
    content: "";
    pointer-events: auto;
    border-radius: 0 0 2px;
    pointer-events: none;
    &::before {
        position: absolute;
        top: -11.3137085px;
        left: -11.3137085px;
        width: 33.9411255px;
        height: 33.9411255px;
        background: @black-1;
        background-repeat: no-repeat;
        background-position: -10px -10px;
        content: "";
        -webkit-clip-path: inset(33% 33%);
        clip-path: inset(33% 33%);
        -webkit-clip-path: path(
            "M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z"
        );
        clip-path: path(
            "M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z"
        );
    }
}
